<template>
  <div class="login-container">
    <el-button type="primary" class="btn" @click="goto">返回首页</el-button>
  </div>
</template>

<script  setup>
import usePermissionStore from '@/stores/permisssion'
import { useRouter } from 'vue-router'
const router = useRouter()
const goto = () => {
  router.push(usePermissionStore().indexPage)
}
console.log(usePermissionStore().indexPage);

</script>

<style lang="scss" scoped>
.login-container{
  height: 100vh;
  width: 100%;
  background:url('../../assets/img/401.png')no-repeat  center/cover;
  position: relative;
  .btn{
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%,-50%);
    height: 100px;
    width: 100px;
    border-radius: 23% 77% 0% 100% / 100% 27% 73% 0%;

  }
  



}

</style>